package cn.mabach.utils;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class GetIdWorker {
    @Bean
    public SnowflakeIdWorker get(){
        return new SnowflakeIdWorker(1,1);
    }
}
